package com.ark.cloud.javacallnative.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 仿真引擎状态变化事件
 */
@Data
@TableName("simengine_state")
public class SimEngineState {
//    @TableId(type = IdType.AUTO, value = "id")
    private Long id;
    @TableField("timestamp")
    private String timestamp;        //  时间
    @TableField("type")
    private short type;                 // 状态类型
    @TableField("changed_rate")
    private short changedRate;         // 倍速
    @TableField("jump_to")
    private String jumpTo;            //  回放时跳转到指定时间
    @TableField("jum_offset")
    private double jumOffset;            //  回放时跳转的时间偏移量
    @TableField("sim_mode")
    private short simMode;            //  推演模式

}
